import request from '../utils/request'

export const getProcessDefineList = () => {
    return request({
        url: '/app/rest/process-definitions?latest=true',
        method: 'get'
    });
}

export const getStartForm = (processId) => {
    return request({
        url: `app/rest/process-definitions/${processId}/start-form`,
        method: 'get'
    })
}
